package com.moive.news.tqnewsapplication.entity;

import java.util.List;

/**
 * Created by Administrator on 2018/1/9.
 */

public class NewsPinlunInfo {
    /**
     * code : 0
     * msg : 成功
     * data : [{"id":"52ab6e397ad24037b61d72685c2c719e","content":"测试","createDate":1515635226000,"newsId":"98b540d6c2e445a9b71656eb316cf850","fromUserId":"4028805e604de54801604de593860000","parentCommentId":null,"toUserId":null,"newsCategory":"星闻","toUserHeadImg":null,"fromUserHeadImg":"http://aixiaodao.test.upcdn.net/uploads/2017-12-28/f32986700aea4edda4a4965941e836b6.jpg","fromUserNickName":"小明","toUserNickName":null,"childrenComments":[{"id":"52ab6e397ad24037b61d72685c2c719e","content":"测试","createDate":1515635226000,"newsId":"98b540d6c2e445a9b71656eb316cf850","fromUserId":"4028805e604de54801604de593860000","parentCommentId":null,"toUserId":null,"newsCategory":"星闻","toUserHeadImg":null,"fromUserHeadImg":"http://aixiaodao.test.upcdn.net/uploads/2017-12-28/f32986700aea4edda4a4965941e836b6.jpg","fromUserNickName":"小明","toUserNickName":null,"childrenComments":null}]}]
     */
    private int code;
    private String msg;
    private List<DataBean> data;
    public int getCode() {
        return code;
    }
    public void setCode(int code) {
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
    public List<DataBean> getData() {
        return data;
    }
    public void setData(List<DataBean> data) {
        this.data = data;
    }
    public static class DataBean {
        /**
         * id : 52ab6e397ad24037b61d72685c2c719e
         * content : 测试
         * createDate : 1515635226000
         * newsId : 98b540d6c2e445a9b71656eb316cf850
         * fromUserId : 4028805e604de54801604de593860000
         * parentCommentId : null
         * toUserId : null
         * newsCategory : 星闻
         * toUserHeadImg : null
         * fromUserHeadImg : http://aixiaodao.test.upcdn.net/uploads/2017-12-28/f32986700aea4edda4a4965941e836b6.jpg
         * fromUserNickName : 小明
         * toUserNickName : null
         * childrenComments : [{"id":"52ab6e397ad24037b61d72685c2c719e","content":"测试","createDate":1515635226000,"newsId":"98b540d6c2e445a9b71656eb316cf850","fromUserId":"4028805e604de54801604de593860000","parentCommentId":null,"toUserId":null,"newsCategory":"星闻","toUserHeadImg":null,"fromUserHeadImg":"http://aixiaodao.test.upcdn.net/uploads/2017-12-28/f32986700aea4edda4a4965941e836b6.jpg","fromUserNickName":"小明","toUserNickName":null,"childrenComments":null}]
         */

        private String id;
        private String content;
        private long createDate;
        private String newsId;
        private String fromUserId;
        private String parentCommentId;
        private String toUserId;
        private String newsCategory;
        private String toUserHeadImg;
        private String fromUserHeadImg;
        private String fromUserNickName;
        private String toUserNickName;
        private List<ChildrenCommentsBean> childrenComments;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public long getCreateDate() {
            return createDate;
        }

        public void setCreateDate(long createDate) {
            this.createDate = createDate;
        }

        public String getNewsId() {
            return newsId;
        }

        public void setNewsId(String newsId) {
            this.newsId = newsId;
        }

        public String getFromUserId() {
            return fromUserId;
        }

        public void setFromUserId(String fromUserId) {
            this.fromUserId = fromUserId;
        }

        public String getParentCommentId() {
            return parentCommentId;
        }

        public void setParentCommentId(String parentCommentId) {
            this.parentCommentId = parentCommentId;
        }

        public String getToUserId() {
            return toUserId;
        }

        public void setToUserId(String toUserId) {
            this.toUserId = toUserId;
        }

        public String getNewsCategory() {
            return newsCategory;
        }

        public void setNewsCategory(String newsCategory) {
            this.newsCategory = newsCategory;
        }

        public String getToUserHeadImg() {
            return toUserHeadImg;
        }

        public void setToUserHeadImg(String toUserHeadImg) {
            this.toUserHeadImg = toUserHeadImg;
        }

        public String getFromUserHeadImg() {
            return fromUserHeadImg;
        }

        public void setFromUserHeadImg(String fromUserHeadImg) {
            this.fromUserHeadImg = fromUserHeadImg;
        }

        public String getFromUserNickName() {
            return fromUserNickName;
        }

        public void setFromUserNickName(String fromUserNickName) {
            this.fromUserNickName = fromUserNickName;
        }

        public String getToUserNickName() {
            return toUserNickName;
        }

        public void setToUserNickName(String toUserNickName) {
            this.toUserNickName = toUserNickName;
        }

        public List<ChildrenCommentsBean> getChildrenComments() {
            return childrenComments;
        }

        public void setChildrenComments(List<ChildrenCommentsBean> childrenComments) {
            this.childrenComments = childrenComments;
        }

        public static class ChildrenCommentsBean {
            /**
             * id : 52ab6e397ad24037b61d72685c2c719e
             * content : 测试
             * createDate : 1515635226000
             * newsId : 98b540d6c2e445a9b71656eb316cf850
             * fromUserId : 4028805e604de54801604de593860000
             * parentCommentId : null
             * toUserId : null
             * newsCategory : 星闻
             * toUserHeadImg : null
             * fromUserHeadImg : http://aixiaodao.test.upcdn.net/uploads/2017-12-28/f32986700aea4edda4a4965941e836b6.jpg
             * fromUserNickName : 小明
             * toUserNickName : null
             * childrenComments : null
             */

            private String id;
            private String content;
            private long createDate;
            private String newsId;
            private String fromUserId;
            private String parentCommentId;
            private String toUserId;
            private String newsCategory;
            private String toUserHeadImg;
            private String fromUserHeadImg;
            private String fromUserNickName;
            private String toUserNickName;
            private String childrenComments;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public long getCreateDate() {
                return createDate;
            }

            public void setCreateDate(long createDate) {
                this.createDate = createDate;
            }

            public String getNewsId() {
                return newsId;
            }

            public void setNewsId(String newsId) {
                this.newsId = newsId;
            }

            public String getFromUserId() {
                return fromUserId;
            }

            public void setFromUserId(String fromUserId) {
                this.fromUserId = fromUserId;
            }

            public String getParentCommentId() {
                return parentCommentId;
            }

            public void setParentCommentId(String parentCommentId) {
                this.parentCommentId = parentCommentId;
            }

            public String getToUserId() {
                return toUserId;
            }

            public void setToUserId(String toUserId) {
                this.toUserId = toUserId;
            }

            public String getNewsCategory() {
                return newsCategory;
            }

            public void setNewsCategory(String newsCategory) {
                this.newsCategory = newsCategory;
            }

            public String getToUserHeadImg() {
                return toUserHeadImg;
            }

            public void setToUserHeadImg(String toUserHeadImg) {
                this.toUserHeadImg = toUserHeadImg;
            }

            public String getFromUserHeadImg() {
                return fromUserHeadImg;
            }

            public void setFromUserHeadImg(String fromUserHeadImg) {
                this.fromUserHeadImg = fromUserHeadImg;
            }

            public String getFromUserNickName() {
                return fromUserNickName;
            }

            public void setFromUserNickName(String fromUserNickName) {
                this.fromUserNickName = fromUserNickName;
            }

            public String getToUserNickName() {
                return toUserNickName;
            }

            public void setToUserNickName(String toUserNickName) {
                this.toUserNickName = toUserNickName;
            }

            public String getChildrenComments() {
                return childrenComments;
            }

            public void setChildrenComments(String childrenComments) {
                this.childrenComments = childrenComments;
            }
        }
    }
}
